package com.HomeWorkhsp.chapter10.interface_.codesheep;

/**
 * Enjoy programming!!!
 * Time: 2021/12/4 -  20:09
 */
public class Driver {
    public void drive(TrafficTools trafficTools){
        trafficTools.drive();
    }

    public static void main(String[] args) {
        Driver driver = new Driver();
        driver.drive(new Alto());
        driver.drive(new Fit());
        driver.drive(new Donkey());
    }
}
